package com.bean;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * Created by Yuicon on 2016/11/3.
 */
public class ArticleInfo {

    private String id;

    private String aaid;

    private String title;

    private String uploader;

    private Timestamp addTime;

    private String synopsis;

    private int onlookerNum;

    private int commentNum;

    private int page;

    private String content;

    public ArticleInfo(String id, String aaid, String title, String uploader, Timestamp addTime, String synopsis, int onlookerNum, int commentNum) {
        this.id = id;
        this.aaid = aaid;
        this.title = title;
        this.uploader = uploader;
        this.addTime = addTime;
        this.synopsis = synopsis;
        this.onlookerNum = onlookerNum;
        this.commentNum = commentNum;
    }

    public ArticleInfo(String id, String title, String synopsis, int onlookerNum, int commentNum) {
        this.id = id;
        this.title = title;
        this.synopsis = synopsis;
        this.onlookerNum = onlookerNum;
        this.commentNum = commentNum;
    }

    public ArticleInfo() {
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public String getAaid() {
        return aaid;
    }

    public void setAaid(String aaid) {
        this.aaid = aaid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUploader() {
        return uploader;
    }

    public void setUploader(String uploader) {
        this.uploader = uploader;
    }

    public Timestamp getAddTime() {
        return addTime;
    }

    public void setAddTime(Timestamp addTime) {
        this.addTime = addTime;
    }

    public String getSynopsis() {
        return synopsis;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    public int getOnlookerNum() {
        return onlookerNum;
    }

    public void setOnlookerNum(int onlookerNum) {
        this.onlookerNum = onlookerNum;
    }

    public int getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(int commentNum) {
        this.commentNum = commentNum;
    }
}
